package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityHouseModel;
import com.ecoolex.ying.space.entity.EstateProjectActivityHouseModelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityHouseModelMapper {
    long countByExample(EstateProjectActivityHouseModelExample example);

    int deleteByExample(EstateProjectActivityHouseModelExample example);

    int deleteByPrimaryKey(Integer modelId);

    int insert(EstateProjectActivityHouseModel record);

    int insertSelective(@Param("record") EstateProjectActivityHouseModel record, @Param("selective") EstateProjectActivityHouseModel.Column ... selective);

    EstateProjectActivityHouseModel selectOneByExample(EstateProjectActivityHouseModelExample example);

    List<EstateProjectActivityHouseModel> selectByExample(EstateProjectActivityHouseModelExample example);

    EstateProjectActivityHouseModel selectByPrimaryKey(Integer modelId);

    EstateProjectActivityHouseModel selectByPrimaryKeyWithLogicalDelete(@Param("modelId") Integer modelId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityHouseModel record, @Param("example") EstateProjectActivityHouseModelExample example, @Param("selective") EstateProjectActivityHouseModel.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityHouseModel record, @Param("example") EstateProjectActivityHouseModelExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityHouseModel record, @Param("selective") EstateProjectActivityHouseModel.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityHouseModel record);

    int batchInsert(@Param("list") List<EstateProjectActivityHouseModel> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityHouseModel> list, @Param("selective") EstateProjectActivityHouseModel.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityHouseModelExample example);

    int logicalDeleteByPrimaryKey(Integer modelId);
}